package com.zhengze;

import java.util.regex.Pattern;

/**
 * 作者: LCG
 * 日期: 2019/10/23 17:05
 * 描述:
 */
public class TestZhengZe {
    public static void main(String[] args) {
        String str1 ="[0-9a-zA-Z_]{1,9}";

        String content = "87886548979797dg";

        boolean isMatch = Pattern.matches(str1, content);
        System.out.println(isMatch);


    }

}
